package vip.hello520.service;

import vip.hello520.model.LinkPo;
import vip.hello520.model.ResultBean;

import java.util.List;

public interface LinkService {
    /**
     * 异步获取友情连接
     *
     * @return
     * @throws Exception
     */
    List<LinkPo> getLinkPoList() throws Exception;

    /**
     * 保存必应图片到服务器
     *
     * @param fileUrl
     * @param savePath
     * @param fileName
     * @return
     * @throws Exception
     */
    ResultBean saveBiYingImgToRemote(String fileUrl, String savePath, String fileName) throws Exception;
}
